package com.dks.models;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

public class CourseCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    public CourseCategory() {
    }

    /**
     * 课程分类
     */
    private Long id;
    /**
     * 分类名称
     */
    private String name;
    /**
     * 图片
     */
    private String img;
    /**
     * 简介
     */
    private String info;
    /**
     * 是否首页显示状态(0:是 1:否)
     */
    private Integer indexStatus;
    /**
     * 创建人
     */
    private Long createUserId;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime gmtCreateTime;
    /**
     * 修改人
     */
    private Long modifyUserId;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime gmtModifyTime;
    /**
     * 有效状态(0:可用 1:不可用)
     */
    private Integer recStatus;
    /**
     * 备注
     */
    private String remark;
    /**
     * 视频地址
     */
    private String video;
    /**
     * 前台排序
     */
    private Integer appSort;

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video;
    }

    public Integer getAppSort() {
        return appSort;
    }

    public void setAppSort(Integer appSort) {
        this.appSort = appSort;
    }

    public final Long getId() {
        return this.id;
    }

    public final void setId(final Long id) {
        this.id = id;
    }

    public final String getName() {
        return this.name;
    }

    public final void setName(final String name) {
        this.name = name;
    }

    public final String getImg() {
        return this.img;
    }

    public final void setImg(final String img) {
        this.img = img;
    }

    public final String getInfo() {
        return this.info;
    }

    public final void setInfo(final String info) {
        this.info = info;
    }

    public final Integer getIndexStatus() {
        return this.indexStatus;
    }

    public final void setIndexStatus(final Integer indexStatus) {
        this.indexStatus = indexStatus;
    }

    public final Long getCreateUserId() {
        return this.createUserId;
    }

    public final void setCreateUserId(final Long createUserId) {
        this.createUserId = createUserId;
    }


    public final Long getModifyUserId() {
        return this.modifyUserId;
    }

    public final void setModifyUserId(final Long modifyUserId) {
        this.modifyUserId = modifyUserId;
    }

    public LocalDateTime getGmtCreateTime() {
        return gmtCreateTime;
    }

    public void setGmtCreateTime(LocalDateTime gmtCreateTime) {
        this.gmtCreateTime = gmtCreateTime;
    }

    public LocalDateTime getGmtModifyTime() {
        return gmtModifyTime;
    }

    public void setGmtModifyTime(LocalDateTime gmtModifyTime) {
        this.gmtModifyTime = gmtModifyTime;
    }

    public final Integer getRecStatus() {
        return this.recStatus;
    }

    public final void setRecStatus(final Integer recStatus) {
        this.recStatus = recStatus;
    }

    public final String getRemark() {
        return this.remark;
    }

    public final void setRemark(final String remark) {
        this.remark = remark;
    }

}
